home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 4 (Reseller)
/
Apple Ref. & Pres. Lib.v4.0.iso
/
2-Graphics
/
Apple Graphics Source
/
Apple Graphics Source 2.3
/
Apple Graphics Source 2.3
/
background_3618.txt
< prev
next >
Wrap
Text File
|
1990-03-28
|
4KB
|
187 lines
-- background: 3618 from stack: in.3
-- bmap block id: 4016
-- flags: 4000
-- background id: 0
-- name: Title Background
----- HyperTalk script -----
on adminElements boolean
set cursor to watch
lock screen
cdFldsVisible boolean
cdBtnsVisible boolean
if boolean then
bgBtnsVisible false
bgFldsVisible false
show bg fld "title"
show bg fld "directions"
show bg btn "blanket"
send mouseUp to cd btn "keyword index"
unlock screen
put "barn door open" into theEffect
else
send "toggleAbout true" to this cd
put "barn door close" into theEffect
end if
unlock screen with visual effect theEffect
end adminElements
on cdFldsVisible boolean
repeat with i = 1 to number of cd flds
set the visible of cd fld i to boolean
end repeat
end cdFldsVisible
on cdBtnsVisible boolean
repeat with i = 1 to number of cd btns
set the visible of cd btn i to boolean
end repeat
end cdBtnsVisible
on bgFldsVisible boolean
repeat with i = 1 to number of bg flds
set the visible of bg fld i to boolean
end repeat
end bgFldsVisible
on bgBtnsVisible boolean
repeat with i = 1 to number of bg btns
set the visible of bg btn i to boolean
end repeat
end bgBtnsVisible
-- part 3 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=0 top=52 right=77 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 156
-- text size: 16
-- style flags: 0
-- line height: 21
-- part name: Directions
-- part 8 (button)
-- low flags: 00
-- high flags: 0002
-- rect: left=5 top=83 right=338 bottom=507
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 156
-- text size: 16
-- style flags: 0
-- line height: 21
-- part name: blanket
----- HyperTalk script -----
on mouseUp
doAbout false
end mouseUp
-- part 17 (button)
-- low flags: 00
-- high flags: 4002
-- rect: left=7 top=85 right=106 bottom=505
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 13
-- style flags: 0
-- line height: 17
-- part name: Heading
-- part 18 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=11 top=85 right=108 bottom=505
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 13
-- style flags: 2048
-- line height: 17
-- part name: Heading
-- part 19 (field)
-- low flags: 81
-- high flags: 2000
-- rect: left=5 top=105 right=338 bottom=506
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 13
-- style flags: 0
-- line height: 17
-- part name: Legal Notice
-- part 21 (field)
-- low flags: 01
-- high flags: 2000
-- rect: left=5 top=105 right=340 bottom=506
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 13
-- style flags: 0
-- line height: 17
-- part name: About
-- part 23 (button)
-- low flags: 80
-- high flags: 0002
-- rect: left=341 top=308 right=332 bottom=472
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Toggle
-- part 20 (field)
-- low flags: 81
-- high flags: 0002
-- rect: left=341 top=308 right=331 bottom=472
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 156
-- text size: 16
-- style flags: 0
-- line height: 21
-- part name: Toggle
----- HyperTalk script -----
on mouseUp
toggleAbout (not the visible of bg fld "about")
end mouseUp
-- part 6 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=0 top=21 right=56 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 158
-- text size: 24
-- style flags: 0
-- line height: 32
-- part name: Title